package com.ruoyi.app.controller;

import com.ruoyi.app.service.HospitalCaseDService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("hospitalCaseD")
public class HospitalCaseDController {

    @Autowired
    private HospitalCaseDService hospitalCaseDService;

    @RequestMapping("all")
    public String all() {
        return hospitalCaseDService.all();
    }
}
